What is a good WordPress theme for long Objective-C code samples [closed]
Posted
by willc2
on Super User
See other posts from Super User
or by willc2
Published on 2009-11-18T08:12:44Z
Indexed on
2010/04/07
17:43 UTC
Read the original article
Hit count: 329
As some of you iPhone developers know, Objective-C can be a verbose language. Long, descriptive variable and method names are the norm. I'm not complaining, it makes code easier to read and code completion makes it easy to type. But damn!
Check out this method name for getting a cell in a table view:
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
I have a WordPress blog where I publish my code samples as I'm learning the language.
One thing I hate on other blogs is how the code won't fit in a column without that scroll bar or without wrapping around. It really made it hard for me to read and comprehend method names back when I was a super-noob (six months ago).
Right now I use the clean-looking Fazyvo 1.0 theme by noonnoo. I love the look of it but the columns are just too narrow and it doesn't have support for wider ones. I could hand-modify it but then I'd have to maintain/redo those changes every time I updated it.
Instead, I'm looking for a nice theme that has width control built-in and looks good at larger font sizes. Can anyone help?
Note: I use WP-CodeBox for code syntax highlighting.
© Super User or respective owner